/**
 * 发布列表页面接口
 */
// console.log(999999, process.env.VUE_APP_WEB_URL_SAAS);
import request from '@/api/utils/request';
// 获取发布列表
export const getReleaseInfoList = data =>
  request({
    url: `${process.env.VUE_APP_WEB_URL_SAAS}/releaseInfo/infoReleaseUpgrade`,
    method: 'post',
    data
  });

// 撤回
export const recallReleaseInfo = params =>
  request({
    url: `${process.env.VUE_APP_WEB_URL_SAAS}/releaseInfo/recall/` + params,
    method: 'get'
  });
// 删除/批量删除
export const deleteReleaseInfo = params =>
  request({
    url: `${process.env.VUE_APP_WEB_URL_SAAS}/releaseInfo/delete`,
    method: 'post',
    data: params
  });
